package com.applet.mallappletbackstage.service;

import com.applet.mallappletbackstage.entity.ReleaseWork;
import com.applet.mallappletbackstage.entity.UserReleaseWork;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2020-07-31
 */
public interface UserReleaseWorkService extends IService<UserReleaseWork> {

    /***
     * 通过用户发布工作关联表查询工作
     * @param id
     * @return
     */
    List<String> selectReleaseWorkListByUserId(String id);

    List<ReleaseWork> selectWorkById(String id, int status);
}
